package router

import (
	"github.com/gin-gonic/gin"
	"go_api/api"
)

func init() {
	RegisterRoute(func(engine *gin.Engine) {
		v1 := engine.Group("/v1")
		// 用户认证路由组
		authGroup := v1.Group("/auth")
		{
			authGroup.GET("/login", api.AuthController{}.Login)
		}
	})
}
